package com.shd.edanpei.bean;

import com.shd.edanpei.common.Constant;
import com.shd.edanpei.util.DateUtils;


public class ScoreModel {

    /**
     * points : 990000
     * msg1 : (当前积分990000，可提现99000元)
     * msg2 : (10积分=1元)
     * msg3 : 提现须知：
     * 1.单笔必须满1000积分才能提现
     * 2.10积分兑换1元
     * 3.提现时间只允许每个月的20号之前提现
     */
    private long points;
    private String amount;
    private long createTime;
    private String description;
    private String msg1;
    private String msg2;
    private String msg3;
    private long ratio;

    public long getPoints() {
        return points;
    }

    public String getPointsStr() {
        return String.valueOf(points);
    }

    public String getAmount() {
        return amount;
    }

    public String getCreateTime() {
        return DateUtils.formatTime(createTime, Constant.Time.YYYY_MM_DD_HH_MM.getTime());
    }

    public String getDescription() {
        return description;
    }

    public String getMsg1() {
        return msg1;
    }

    public String getMsg2() {
        return msg2;
    }

    public String getMsg3() {
        return msg3;
    }

    public long getRatio() {
        return ratio;
    }
}
